// maybe import is a good style ?
import {mongoose} from "mongoose"

const userSchema = new mongoose.Schema({
  _id: mongoose.Schema.Types.ObjectId,

  username: String,
  password: String,
  phoneno: Number,
  email: String,
  userType: String,
})

export mongoose.model("User", userSchema)
